import requests

# 给定的 ID 列表
id_list = [
55677,
55678,
55679,
55680,
55681,
55682,
55683,
55684,
55685,
55724,
55725,
55726,
55727,
55728,
55729,
55730,
55731,
55732,
55733,
55734,
55735,
55736,
55737,
55738,
55739,
55740,
55741,
55742,
55743,
55744,
55745,
55746,
55747,
55748,
55749,
55750,
55751,
55752,
55753,
55754,
55755,
55756,
55757,
55758,
55759,
55760,
55761,
55762,
55763,
55764,
55765,
55766,
55767,
55768,
55769,
55770,
55771,
55772,
55773,
55774,
55775,
55776,
55777,
55778,
55779,
55780,
55781,
55782,
55783,
55784,
55785,
55818,
55819,
55820,
55821,
55822,
55823,
55824,
55825,
55826,
55827,
55828,
55829,
55830,
55831,
55832,
55833,
55834,
55835,
55836,
55837,
55838,
55839,
55840,
55841,
55842,
55843,
55844,
55845,
55846,
55847,
55848,
55849,
55850,
55851,
55852,
55853,
55854,
55855,
55856,
55857,
55858,
55859,
55860,
55861,
55862,
55863,
55864,
55865,
55866,
55867,
55868,
55869,
55870,
55871,
55872,
55873,
55874,
55875,
55876,
55877,
55878,
55879,
55880,
55881,
55882,
55883,
55884,
55885,
55930,
55931,
55932,
55933,
55934,
55935,
55936,
55937,
55938,
55939,
55940,
55941,
55942,
55943,
55944,
55945,
55946,
55947,
55948,
55949,
55950,
55951,
55952,
55953,
55954,
55955,
55956,
55957,
55958,
55959,
55960,
55961,
55962,
55963,
55964,
55965,
55966,
55967,
55968,
55969,
55970,
55971,
55972,
55973,
55974,
55975,
55976,
55977,
55978,
55979,
55980,
55981,
55982,
55983,
55984,
55985,
56024,
56025,
56026,
56027,
56028,
56029,
56030,
56031,
56032,
56033,
56034,
56035,
56036,
56037,
56038,
56039,
56040,
56041,
56042,
56043,
56258,
56259,
56260,
56261,
56262,
56263,
56264,
56265,
56266,
56267,
56268,
56269,
56270,
56271,
56272,
56273,
56274,
56275,
56276,
56277,
56278,
56279,
56280,
56281,
56282,
56283,
56284,
56285,
56320,
56321,
56322,
56323,
56324,
56325,
56326,
56327,
56328,
56329,
56330,
56331,
56332,
56333,
56334,
56335,
56336,
56337,
56338,
56339,
56340,
56341,
56342,
56343,
56344,
56345,
56346,
56347,
56348,
56349,
56350,
56351,
56352,
56353,
56354,
56355,
56356,
56357,
56358,
56359,
56360,
56361,
56362,
56363,
56364,
56365,
56366,
56367,
56368,
56369,
56370,
56371,
56372,
56373,
56374,
56375,
56376,
56377,
56378,
56379,
56380,
56381,
56382,
56383,
56384,
56385,
56431,
56432,
56433,
56434,
56435,
56436,
56437,
56438,
56439,
56440,
56441,
56442,
56443,
56444,
56445,
56446,
56447,
56448,
56449,
56450,
56451,
56452,
56453,
56454,
56455,
56456,
56457,
56458,
56459,
56460,
56461,
56462,
56463,
56464,
56465,
56466,
56467,
56468,
56469,
56470,
56471,
56472,
56473,
56474,
56475,
56476,
56477,
56478,
56479,
56480,
56481,
56482,
56483,
56484,
56485,
56552,
56553,
56554,
56555,
56556,
56557,
56558,
56559,
56560,
56561,
56562,
56563,
56564,
56565,
56566,
56567,
56568,
56569,
56570,
56571,
56572,
56573,
56574,
56575,
56576,
56577,
56578,
56579,
56580,
56581,
56582,
56583,
56584,
56585,
56642,
56643,
56644,
56645,
56646,
56647,
56648,
56649,
56650,
56651,
56652,
56653,
56654,
56655,
56656,
56657,
56658,
56659,
56660,
56661,
56662,
56663,
56664,
56665,
56666,
56667,
56668,
56669,
56670,
56671,
56672,
56673,
56674,
56675,
56676,
56677,
56678,
56679,
56680,
56681,
56682,
56683,
56684,
56685,
56756,
56757,
56758,
56759,
56760,
56761,
56762,
56763,
56764,
56765,
56766,
56767,
56768,
56769,
56770,
56771,
56772,
56773,
56774,
56775,
56776,
56777,
56778,
56779,
56780,
56781,
56782,
56783,
56784,
56785,
56853,
56854,
56855,
56856,
56857,
56858,
56859,
56860,
56861,
56862,
56863,
56864,
56865,
56866,
56867,
56868,
56869,
56870,
56871,
56872,
56873,
56874,
56875,
56876,
56877,
56878,
56879,
56880
]

# API 基础 URL
base_url = "http://106.53.146.53:7001/api/ccSmartStrategy/genTopic/invoke?ids="

# 请求头
headers = {
    'User-Agent': 'Apifox/1.0.0 (https://apifox.com)'
}

# 每 10 个 ID 一组进行调用
batch_size = 100
for i in range(0, len(id_list), batch_size):
    batch = id_list[i:i + batch_size]  # 获取当前批次的 ID
    ids_str = ",".join(map(str, batch))  # 转换为逗号分隔的字符串
    url = base_url + ids_str  # 构造完整 URL

    print(f"请求 URL: {url}")

    # 发送 GET 请求
    response = requests.get(url, headers=headers)

    # 打印响应结果
    print(f"请求 URL: {url}")
    print(f"响应状态码: {response.status_code}")
    print(f"响应内容: {response.text}")
    print("-" * 50)  # 分隔线